package cn.yuhh.dao;

import cn.yuhh.entity.Type;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface TypeDao extends JpaRepository<Type, Long>, JpaSpecificationExecutor<Type> {
    Type findByName(String name);
}
